import * as types from './types'

export default {
    packUp:({commit})=>{
        commit(types.PACKUP)
    },
	clickOdd: ({
		commit,
		state
	}) => {
		if (state.mutations.count % 2 == 0) {
			commit(types.INCREMENT);
		}
	},
    updated:({commit})=>{
        commit(types.UPDATED)
    },
}